﻿@model MegaBitProject.Models.RegisterModel
@{
    ViewBag.Title = "Register";
}
<div id="main">
    <div id="registry-container">
    @using (Html.BeginForm()) {
        @Html.AntiForgeryToken()
        @Html.ValidationSummary()
        <h2>Registry</h2>
        <p>Register to the site to be able to play our games.</p>
        <fieldset id="registerfieldset">
            <legend>Register form</legend>
            <ol id="registerlist">
                 <li>Full name <input type="text" class ="register-field"/></li>
                <li>
                    @Html.LabelFor(m => m.UserName)
                    <span>*</span>
                    @Html.TextBoxFor(m => m.UserName, new {@class="register-field"})
                </li>
                <li>Email <input type="text" class ="register-field" /></li>
                <li>
                    @Html.LabelFor(m => m.Password)
                    <span>*</span>
                    @Html.PasswordFor(m => m.Password, new {@class="register-field"})
                </li>
                <li>
                    @Html.LabelFor(m => m.ConfirmPassword)
                    <span>*</span>
                    @Html.PasswordFor(m => m.ConfirmPassword, new {@class="register-field"})
                </li>
                <li>Profile Picture<input type="file" name="filesToUpload[]" id="filesToUpload" multiple="multiple" />
      <output id="filesInfo"></output></li>
            </ol>
            <input type="submit" value="Register" class="loginbtn" id="regbtn"/>
        </fieldset>
    }
 </div>
</div>
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
